package si.unimb.rvir;

import android.os.Bundle;
import android.view.View;

import com.facebook.android.DialogError;
import com.facebook.android.FacebookError;
import com.facebook.android.Facebook.DialogListener;

public class LoginDialogListner implements DialogListener {

	login Login;
	View view;
	
	public LoginDialogListner(login Login, View v) {
		this.Login = Login;
		this.view = v;
	}

	@Override
	public void onCancel() {
	}

	@Override
	public void onComplete(Bundle values) {
		Login.changeActivity(view);
	}

	@Override
	public void onError(DialogError e) {
	}

	@Override
	public void onFacebookError(FacebookError e) {
	}

}
